package com.yueqian.framework.exception;


import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@EqualsAndHashCode(callSuper = true)

@NoArgsConstructor
@Getter
@Setter
public class ValidatorException extends RuntimeException {

	private static final long serialVersionUID = 1L;

	private final Integer code = 1007;

	private String message;

	public ValidatorException(String message) {
		this.message = message;
	}

}
